Create a PackageEnforcement to indicate requirements that will be enforced when a package reference is added to PackageStore.
Parent Type: PackageEnforcement
Namespace: Microsoft.LearningComponents.Storage
Assembly: Microsoft.LearningComponents.Storage.dll
| C# |
|
public PackageEnforcement ( ) |
enforceScormRequirements
If true, Scorm requirements will be enforced when a package reference is added to PackageStore. In this case, any violation of Scorm requirements will cause the import process to fail. If false, an attempt will be made to fix the package so that it can be imported. In this case, problems may occur when the package is executed.
enforceMlcRequirements
If true, Microsoft Learning Components requirements will be enforced when a package reference is added to PackageStore. In this case, any violation of Microsoft Learning Components requirements will cause the import process to fail. If false, an attempt will be made to fix the package so that it can be imported. In this case, problems may occur when the package is executed.
enforceLrmRequirements
If true, requirements for Lrm contents will be enforced when a package reference is added to PackageStore. In this case, any significant violation of Lrm format requirements will cause the import process to fail. If false, an attempt will be made to fix the package so that it can be imported. In this case, problems may occur when the package is executed. Only Lrm values that are required for import are validated in this process.
These settings do not cause changes to the initial package being added a reference into a PackageStore. Instead, the imported package reference information is modified to allow import, without changing the original package.